#ifndef SEARCHMAINWINDOW_H
#define SEARCHMAINWINDOW_H

#include <QMainWindow>
#include "struct_pp.h"

namespace Ui {
    class searchMainWindow;
}

class searchMainWindow : public QMainWindow
{
    Q_OBJECT

signals: void add(pp R);

public:
    explicit searchMainWindow(QWidget *parent = 0);
    ~searchMainWindow();

private slots:
    void on_pushButton_4_clicked();
    void getnewfridend(pp P);

    void on_pushButton_clicked();

    void on_listWidget_currentTextChanged(const QString &currentText);

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_5_clicked();

private:
    Ui::searchMainWindow *ui;
};

#endif // SEARCHMAINWINDOW_H
